<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: mandaravaItfc结构体 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../db/da1/structmandarava_itfc-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">mandaravaItfc结构体 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../db/d8f/itfc_8hpp_source.html">itfc.hpp</a>&gt;</code></p>
<div class="dynheader">
类 mandaravaItfc 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d5/d90/structmandarava_itfc__inherit__graph.png" border="0" usemap="#amandarava_itfc_inherit__map" alt="Inheritance graph"/></div>
<map name="amandarava_itfc_inherit__map" id="amandarava_itfc_inherit__map">
<area shape="rect" title=" " alt="" coords="204,5,381,187"/>
<area shape="rect" href="../../dc/d34/classepoll.html" title="针对TCP，UDP，串口等通讯需要通讯过程需要的基础通讯模块。使用epoll的异步通讯方式" alt="" coords="5,325,183,528"/>
<area shape="poly" title=" " alt="" coords="221,200,198,236,146,327,142,324,193,233,216,197"/>
<area shape="rect" href="../../d8/ded/classmiocp.html" title="windows的完成端口实现" alt="" coords="207,235,378,619"/>
<area shape="poly" title=" " alt="" coords="295,202,295,235,290,235,290,202"/>
<area shape="rect" href="../../d1/d70/classwheels_1_1mandarava_1_1mandarava.html" title=" " alt="" coords="402,309,573,544"/>
<area shape="poly" title=" " alt="" coords="370,198,392,233,434,308,429,311,388,236,365,201"/>
</map>
</div>
<div class="dynheader">
mandaravaItfc 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/d4d/structmandarava_itfc__coll__graph.png" border="0" usemap="#amandarava_itfc_coll__map" alt="Collaboration graph"/></div>
<map name="amandarava_itfc_coll__map" id="amandarava_itfc_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,183,187"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aa23c04025ca3975906900be8940a7444" id="r_aa23c04025ca3975906900be8940a7444"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa23c04025ca3975906900be8940a7444">~mandaravaItfc</a> ()</td></tr>
<tr class="separator:aa23c04025ca3975906900be8940a7444"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48da4bbae26a61647eca5bc828a61f2c" id="r_a48da4bbae26a61647eca5bc828a61f2c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a48da4bbae26a61647eca5bc828a61f2c">addChannel</a> (<a class="el" href="../../db/d78/structdata_ch.html">dataCh</a> *ch)=0</td></tr>
<tr class="separator:a48da4bbae26a61647eca5bc828a61f2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03f8821ee1ce69ff7cf7949dd344f9ec" id="r_a03f8821ee1ce69ff7cf7949dd344f9ec"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a03f8821ee1ce69ff7cf7949dd344f9ec">eraseChannel</a> (<a class="el" href="../../db/d78/structdata_ch.html">dataCh</a> *ch)=0</td></tr>
<tr class="memdesc:a03f8821ee1ce69ff7cf7949dd344f9ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除通道  <br /></td></tr>
<tr class="separator:a03f8821ee1ce69ff7cf7949dd344f9ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9818ec3ae291ee42922dc575b2393f4b" id="r_a9818ec3ae291ee42922dc575b2393f4b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9818ec3ae291ee42922dc575b2393f4b">run</a> (bool sw, long overtime=200)=0</td></tr>
<tr class="memdesc:a9818ec3ae291ee42922dc575b2393f4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动运行或者停止运行  <br /></td></tr>
<tr class="separator:a9818ec3ae291ee42922dc575b2393f4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="../../db/d8f/itfc_8hpp_source.html">itfc.hpp</a> 第 <a class="el" href="../../db/d8f/itfc_8hpp_source.html#l00024">24</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="aa23c04025ca3975906900be8940a7444" name="aa23c04025ca3975906900be8940a7444"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa23c04025ca3975906900be8940a7444">&#9670;&#160;</a></span>~mandaravaItfc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual mandaravaItfc::~mandaravaItfc </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../db/d8f/itfc_8hpp_source.html">itfc.hpp</a> 第 <a class="el" href="../../db/d8f/itfc_8hpp_source.html#l00026">26</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a48da4bbae26a61647eca5bc828a61f2c" name="a48da4bbae26a61647eca5bc828a61f2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48da4bbae26a61647eca5bc828a61f2c">&#9670;&#160;</a></span>addChannel()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool mandaravaItfc::addChannel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/d78/structdata_ch.html">dataCh</a> *</td>          <td class="paramname"><span class="paramname"><em>ch</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="../../dc/d34/classepoll.html#ad1f9d722cdbd17a13c9e8c9384226519">epoll</a>, <a class="el" href="../../d8/ded/classmiocp.html#aea377eeac97df1494800111f8e03f6d3">miocp</a> , 以及 <a class="el" href="../../d1/d70/classwheels_1_1mandarava_1_1mandarava.html#abeacebad8435be34329f6781dad1ecb1">wheels::mandarava::mandarava&lt; T &gt;</a> 内被实现.</p>

</div>
</div>
<a id="a03f8821ee1ce69ff7cf7949dd344f9ec" name="a03f8821ee1ce69ff7cf7949dd344f9ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03f8821ee1ce69ff7cf7949dd344f9ec">&#9670;&#160;</a></span>eraseChannel()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool mandaravaItfc::eraseChannel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/d78/structdata_ch.html">dataCh</a> *</td>          <td class="paramname"><span class="paramname"><em>ch</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除通道 </p>

<p>在 <a class="el" href="../../dc/d34/classepoll.html#a58d92beb99dc26c21eddd974a1dc2ff4">epoll</a>, <a class="el" href="../../d8/ded/classmiocp.html#add157a2e30a97d5dfbc38a4e2c32d146">miocp</a> , 以及 <a class="el" href="../../d1/d70/classwheels_1_1mandarava_1_1mandarava.html#ac03f3b8617f9f3f51fc7b0e2bb691d34">wheels::mandarava::mandarava&lt; T &gt;</a> 内被实现.</p>

</div>
</div>
<a id="a9818ec3ae291ee42922dc575b2393f4b" name="a9818ec3ae291ee42922dc575b2393f4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9818ec3ae291ee42922dc575b2393f4b">&#9670;&#160;</a></span>run()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void mandaravaItfc::run </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>sw</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>overtime</em></span><span class="paramdefsep"> = </span><span class="paramdefval">200</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>启动运行或者停止运行 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sw[</td><td>I ], 开关 </td></tr>
    <tr><td class="paramname">overtime[</td><td>I ], 等候超时时间 </td></tr>
  </table>
  </dd>
</dl>

<p>在 <a class="el" href="../../dc/d34/classepoll.html#a99a92585ff919ed307d0d3c37799a083">epoll</a>, <a class="el" href="../../d8/ded/classmiocp.html#abfb5c66933144b1b3df3b0db1ebace1b">miocp</a> , 以及 <a class="el" href="../../d1/d70/classwheels_1_1mandarava_1_1mandarava.html#a06c446f1772118fa3a708e7c4573f570">wheels::mandarava::mandarava&lt; T &gt;</a> 内被实现.</p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>include/mandarava/<a class="el" href="../../db/d8f/itfc_8hpp_source.html">itfc.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
